/**
  * Copyright 2020 bejson.com
  */
package org.finegold.core.pay.unionpay.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * <B>Description:</B> TODO <br>
 * @Author QinXueFeng
 * @Date 2020/10/14 13:42
 * @Version 1.0.10
 * @VersionList
 * <pre>
 *    版本        修改人        修改日期        修改描述
 *    ------------------------------------------------------------
 *    1.0.10       QinXueFeng        2020/10/14 13:42        create
 *    ------------------------------------------------------------
 * </pre>
 */
@Data
public class BillPayment {

	private String buyerUsername;
	@DateTimeFormat(
		pattern = "yyyy-MM-dd HH:mm:ss"
	)
	@JsonFormat(
		pattern = "yyyy-MM-dd HH:mm:ss"
	)
	private Date payTime;
	private int buyerCashPayAmt;
	private String paySeqId;
	private int invoiceAmount;
	@DateTimeFormat(
		pattern = "yyyy-MM-dd"
	)
	@JsonFormat(
		pattern = "yyyy-MM-dd"
	)
	private Date settleDate;
	private String buyerId;
	private int totalAmount;
	private int couponAmount;
	private String billBizType;
	private int buyerPayAmount;
	private String targetOrderId;
	private String payDetail;
	private String merOrderId;
	private String status;
	private String targetSys;
}
